//
//  MK_LivingRoomViewModel.h
//  miku直播
//
//  Created by 杨尚达 on 2017/7/29.
//  Copyright © 2017年 杨尚达. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "MK_LivingStreamModel.h"


typedef NS_ENUM(NSUInteger, MK_LivingRoomState) {
    ///成功
    MK_LivingRoomState_Succes,
    ///失败
    MK_LivingRoomState_Faile,
};


@interface MK_LivingRoomViewModel : NSObject

///直播状态
@property(nonatomic,assign)MK_LivingRoomState state;




/**
 得到房间直播流的请求

 @param roomID 房间ID
 @param backBlock 成功回调
 @param failBlock 失败回调
 */
-(void)MK_getLivingStreamWithRoomId:(NSString*)roomID andBackBlock:(void(^)(MK_LivingStreamModel* model))backBlock andFaileBlock:(void(^)(NSError* error))failBlock;

@end
